package cn.broadsense.biz.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.io.Serializable;

/**
 * @author lijian
 * @description
 * @date 2024年09月11日 下午4:09
 */
@ApiModel(value = "标签信息")
@Data
public class TagInfoVo implements Serializable {
    private static final long serialVersionUID = 1L;

    @NotBlank(message = "标签名称不能为空")
    @Size(max = 64, message = "标签名称不能超过64个字符")
    @ApiModelProperty("标签名称")
    private String name;

    @ApiModelProperty("标签类型ID")
    private Integer tagTypeId;

    @ApiModelProperty("规则ID")
    private Integer tagRuleId;

    private Integer parentId;
}
